import { ref, reactive } from 'vue'
let arr = reactive([1, 2, 3])
let count = ref(0)
// console.log(count);
function countAdd() {
    // console.log(count.value[0] = 4);
    // count.value[0] = 4
    count.value++
}
// 添加数组项的方法
function arrAdd() {
    // console.log(arr);
    arr.push(4)
}

export {
    countAdd,
    arrAdd,
    arr,
    count
}